<div id="container" class="clearfix">
	<div class="icontainer">
		<div id="main">
			<div class="crumb">Home &gt; My Question</div>
			<div class="userArea">
				<?php if($questions):?>
				<?php foreach ($questions as $item):?>
				<div class="question_list">
					<table cellpadding="0" cellspacing="0" width="100%">
						<tr>
							<td>
								Q: <?php echo $item['questions'];?>
								<br>
								&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A: <?php echo $item['answers'];?>
							</td>
							<td align="right" style="color: #bbb;">Post By <?php echo $username;?> on
								<?php echo date('Y-m-d',$item['create_time']);?></td>
						</tr>
					</table>
				</div>
				<?php endforeach;?>
				<?php endif;?>

				<h6>Submit a Question</h6>
				<form action="/addquestion" method="post" class="formArea">
					<ul>
						<li>
							<label>
								<font class="strong1">*</font>
								Question:
							</label>
							<textarea name="question" class="allTextarea" required="required"></textarea>
						</li>
						<li>
							<label>&nbsp;</label>
							<input id="addSubmit" class="allBtn" type="submit" value="Submit" name="submit">
						</li>
					</ul>
				</form>
			</div>
		</div>
		<div id="aside">
			<div class="category">
				<h3>My Account</h3>
				<div class="userMenuContent">
					<ul>
						<li><a href="/user_mag/myorder" rel="nofollow">My Orders</a></li>
<li><a href="/user_mag/addresslist" rel="nofollow">Address</a></li>
<li><a href="/user_mag/account" rel="nofollow">Account Details</a></li>
<li><a href="/user_mag/question" rel="nofollow">My Question</a></li>
<li><a href="/user_mag/wishlist" rel="nofollow">My Wishllist</a></li>
					</ul>
				</div>
			</div>
		</div>
	</div>
</div>